import request from '@/utils/axiosUtil'

// 图书相关接口
class BookAPI {
  static api = new BookAPI

  // 根据3级分类获取对应的3级分类列表
  getBookList(thirdCtgyid: number, sortField: string, ascOrDesc: string) {
    return request.get(`/booksmodule/findBooksByThirdCtgyId/${thirdCtgyid}/${sortField}/${ascOrDesc}`, false)
  }
}

export default BookAPI.api
